package cn.jly.spring.aop.dao.impl;

import cn.jly.spring.aop.dao.CustomerDao;
import org.springframework.stereotype.Service;

/**
 * @author lanyangji
 * @description
 * @date 2020/11/10 下午 3:09
 */
@Service
public class CustomerDaoImpl implements CustomerDao {
    @Override
    public int add(int a, int b) {
        // int i = 10 / 0;
        return a + b;
    }

    @Override
    public String update(String id) {
        return id;
    }
}
